package com.schoolhelper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;

/**
 * (TComment)表实体类
 *
 * @author makejava
 * @since 2021-04-23 21:03:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TComment extends Model<TComment> {

    @TableId(type = IdType.AUTO)
    private Long commentId;

    private Long orderId;

    //评价内容
    private String commentText;

    //星级（1-5星）
    private String star;
}
